package com.whmnx.main.ui.activity;

import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.whmnx.base.router.RouterFragmentPath;
import com.whmnx.main.BR;
import com.whmnx.main.R;
import com.whmnx.main.databinding.FragmentMsgBinding;
import com.whmnx.main.ui.model.MsgModel;

import me.goldze.mvvmhabit.base.BaseActivity;

/**
 * author : huang
 * date   : 2020/9/29 0029 16:26
 * version: 1.0
 */
@Route(path = RouterFragmentPath.Main.PAGER_MAIN)
public class MessageActivity extends BaseActivity<FragmentMsgBinding, MsgModel> {

    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.fragment_msg;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }


    @Override
    public void initData() {
        super.initData();
        viewModel.initToolbar(this,binding);
    }
}
